package interview.common;

public class TreeNode {	
	int data;
	boolean visited;
	
	public int getData() {
		return data;
	}
	
	public void setData(int data) {
		this.data = data;
	}
	
	public void setVisited(boolean v) {
		this.visited = v;
	}
	
	public boolean isVisited() {
		return this.visited;
	}
}
